package cn.iocoder.yudao.module.exam.controller.admin.aimarkingtask.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - AI批阅任务分页 Request VO")
@Data
public class AiMarkingTaskPageReqVO extends PageParam {

    @Schema(description = "任务编号")
    private String taskCode;

    @Schema(description = "试卷ID", example = "27282")
    private Long paperId;

    @Schema(description = "任务类型", example = "2")
    private String taskType;

    @Schema(description = "任务状态", example = "2")
    private Integer taskStatus;

    @Schema(description = "错误信息")
    private String errorMessage;

    @Schema(description = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] startedTime;

    @Schema(description = "完成时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] completedTime;

}